Skip to content

Package print-table.0.1.0 #28218

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2025

Conversation

mbarbin
Copy link
Contributor

@mbarbin mbarbin commented Jul 22, 2025

print-table.0.1.0

Simple Unicode/ANSI and Markdown text table rendering
print-table provides a minimal library for rendering text tables
with Unicode box-drawing characters and optional ANSI colors, or as
GitHub-flavored Markdown.

The API is straightforward and declarative, designed for readable
tables in command-line tools, tests, and tutorials.

This library has taken some inspiration from 2 existing and more
feature-complete libraries, which we link to here for more advanced
usages: see printbox and ascii_table.



Initial release.

  • Simple builder interface.
  • Text printer using Unicode/ANSI.
  • GitHub Flavored Markdown printer.

🐫 Pull-request generated by opam-publish v2.5.1

@mbarbin
Copy link
Contributor Author

mbarbin commented Jul 22, 2025

To note, this package was already available in opam as crs.text-table. I would like to use this in other projects that have no ties with the crs project, and worked on extracting it as a standalone package. I renamed it in the process, and changed its license to ISC (I am the licensor of both projects). Please let me know if you have some questions. Thank you!

@shonfeder shonfeder merged commit c6eb2a4 into ocaml:master Jul 24, 2025
3 checks passed
@mbarbin mbarbin deleted the opam-publish-print-table.0.1.0 branch July 24, 2025 07:34
@mbarbin
Copy link
Contributor Author

mbarbin commented Jul 24, 2025

Thank you @Zeta611 & @shonfeder for your help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants